package view.HelperClasses;

import java.awt.Cursor;
import java.awt.Insets;
import javax.swing.JButton;

/**
 *
 * @author Joachim
 */
public class TextButton extends JButton {
    
    public TextButton(String text) {
        this.setMargin(new Insets(0, 0, 0, 0));
        this.setBorder(null);
        this.setBorderPainted(false);
        this.setContentAreaFilled(false);
        this.setCursor(new Cursor(Cursor.HAND_CURSOR));
        this.setText(text);
    }
    
}
